import Http from '../http';
//解析匹配公式
export const AnalysisMatchFormula = async function (params?: { matchFormula?: string, menuId: string, ruleType: number }) {
   return await Http.get('/api/MatchFormula/AnalysisMatchFormula', params);
}

//获取菜单数据按钮权限
export const GetMenuDataButtonAuth = async function (params: any) {
   return await Http.post('/api/MatchFormula/GetMenuDataButtonAuth', params);
}

//获取下拉框数据源
export const GetSelectData = async function (params?: { showControlDataSourceEnum: number }) {
   return await Http.get('/api/MatchFormula/GetSelectData', params);
}

